package com.jams.goodox.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by jams_zhen on 2017/6/7.
 */

public class ActiveBean implements Serializable{
    private String activityId;
    private String activityPic;
    private String activityTitle;
    private String applyEndDate;
    private String applyNote;
    private String applyStartDate;
    private int applyUserCount;
    private int approveStatus;
    private int commentCount;
    private String communityId;
    private String content;
    private String endDate;
    private String entime;
    private String id;
    private int isJoin;
    private String startDate;
    private String intime;
    private String applyStatus;

    private boolean isUserApply;

    private boolean isCompanyActive;
    private String joinRange;

    public static final String Active_Type_All="1";//面向所有人
    public static final String Active_Type_Comapny="2";//面向企业
    public static final String Active_Type_Staff="3";//面向个人

    public String getJoinRange() {
        return joinRange==null?"":joinRange;
    }

    public void setJoinRange(String joinRange) {
        this.joinRange = joinRange;
    }

    public boolean isCompanyActive() {
        return Active_Type_Comapny.equalsIgnoreCase(joinRange);
    }

    public boolean isUserApply() {
        return isUserApply;
    }

    public void setUserApply(boolean userApply) {
        isUserApply = userApply;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    /**
     * joinUserName : A**
     * joinUserPhoto : /img/zm/201606/head/head146595385486277.jpg
     * joinUserSex : 2
     */


    private List<JoinUserListBean> joinUserList;

    public String getIntime() {
        return intime;
    }

    public void setIntime(String intime) {
        this.intime = intime;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getActivityPic() {
        return activityPic;
    }

    public void setActivityPic(String activityPic) {
        this.activityPic = activityPic;
    }

    public String getActivityTitle() {
        return activityTitle;
    }

    public void setActivityTitle(String activityTitle) {
        this.activityTitle = activityTitle;
    }

    public String getApplyEndDate() {
        return applyEndDate;
    }

    public void setApplyEndDate(String applyEndDate) {
        this.applyEndDate = applyEndDate;
    }

    public String getApplyNote() {
        return applyNote;
    }

    public void setApplyNote(String applyNote) {
        this.applyNote = applyNote;
    }

    public String getApplyStartDate() {
        return applyStartDate;
    }

    public void setApplyStartDate(String applyStartDate) {
        this.applyStartDate = applyStartDate;
    }

    public int getApplyUserCount() {
        return applyUserCount;
    }

    public void setApplyUserCount(int applyUserCount) {
        this.applyUserCount = applyUserCount;
    }

    public int getApproveStatus() {
        return approveStatus;
    }

    public void setApproveStatus(int approveStatus) {
        this.approveStatus = approveStatus;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEntime() {
        return entime;
    }

    public void setEntime(String entime) {
        this.entime = entime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getIsJoin() {
        return isJoin;
    }

    public void setIsJoin(int isJoin) {
        this.isJoin = isJoin;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public List<JoinUserListBean> getJoinUserList() {
        return joinUserList;
    }

    public void setJoinUserList(List<JoinUserListBean> joinUserList) {
        this.joinUserList = joinUserList;
    }

    public static class JoinUserListBean {
        private String joinUserName;
        private String joinUserPhoto;
        private String joinUserSex;

        public String getJoinUserName() {
            return joinUserName;
        }

        public void setJoinUserName(String joinUserName) {
            this.joinUserName = joinUserName;
        }

        public String getJoinUserPhoto() {
            return joinUserPhoto;
        }

        public void setJoinUserPhoto(String joinUserPhoto) {
            this.joinUserPhoto = joinUserPhoto;
        }

        public String getJoinUserSex() {
            return joinUserSex;
        }

        public void setJoinUserSex(String joinUserSex) {
            this.joinUserSex = joinUserSex;
        }
    }
}
